package com.hmall.api.client.pay;


import com.hmall.common.domain.PayOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 86157
 */
@FeignClient("pay-service")
public interface PayClient {

    @GetMapping("/pay-orders/order/{bizOrderNo}")
    PayOrder queryByBizOrderNo(@PathVariable("bizOrderNo") Long bizOrderNo);
}


